package com.woniu.teachmall04.mapper;

import com.woniu.teachmall04.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    User selectByAccount(@Param("account") String account);
    int insertUser(User user);
    int updateUser(User user);
    int updatePassword(@Param("id") Integer id, @Param("password") String password);
}